package org.xb.FactoryMethod;

/**
 * @Author
 * @Description
 * @Date created in 14:06 2023/12/7
 */
public class Main {
    public static void main(String[] args) {
        MulOperateFactory mulOperateFactory = new MulOperateFactory();
        IOperate operate = mulOperateFactory.getOperate();
        Double result = operate.operate(10d, 2d);
        System.out.println(result);
    }
}
